﻿using System;

namespace diantou.dataModel
{
    /// <summary>
    /// 私信
    /// </summary>
    [fastCSharp.emit.jsonSerialize(IsAllMember = true)]
    [fastCSharp.emit.jsonParse(IsAllMember = true)]
    [fastCSharp.emit.dataSerialize(IsReferenceMember = false, IsMemberMap = false)]
    [fastCSharp.code.cSharp.webView.clientType(Name = "diantou.message")]
    [fastCSharp.code.cSharp.sqlModel]
    public partial class message
    {
        /// <summary>
        /// 私信标识
        /// </summary>
        [fastCSharp.code.cSharp.webView.outputAjax]
        public int Id;
        /// <summary>
        /// 接收用户标识
        /// </summary>
        [fastCSharp.code.cSharp.webView.outputAjax]
        public int ReceiveId;
        /// <summary>
        /// 发送者用户标识
        /// </summary>
        [fastCSharp.code.cSharp.webView.outputAjax]
        public int UserId;
        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime SendTime = fastCSharp.date.NowSecond;
        /// <summary>
        /// 通知状态
        /// </summary>
        //public bool isRead;
        /// <summary>
        /// 发送者是否删除
        /// </summary>
        public bool IsUserDelete;
        /// <summary>
        /// 接受者是否删除
        /// </summary>
        public bool IsReceiveDelete;
        /// <summary>
        /// 内容
        /// </summary>
        [fastCSharp.emit.dataMember(MaxStringLength = 512)]
        public string Content;
    }
}
